package com.bmp.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.bmp.dao.ProStatusDao;
import com.bmp.model.ProStatus;
import com.bmp.service.ProStatusManager;

@Component("proStatusManager")
public class ProStatusManagerImpl implements ProStatusManager {
	private ProStatusDao proStatusDao;

	public ProStatusDao getProStatusDao() {
		return proStatusDao;
	}

	@Resource
	public void setProStatusDao(ProStatusDao proStatusDao) {
		this.proStatusDao = proStatusDao;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.bmp.service.ProStatusManager#getProStatusById(int)
	 */
	public ProStatus getProStatusById(int id) {
		return this.proStatusDao.getProStatusById(id);
	}
}
